package cn.tedu.recruitmentwebsite.employee.mapper;

import cn.tedu.recruitmentwebsite.employee.pojo.dto.QueryParam;
import cn.tedu.recruitmentwebsite.employee.pojo.dto.PageQueryTalentParam;
import cn.tedu.recruitmentwebsite.base.pojo.entity.*;
import cn.tedu.recruitmentwebsite.base.pojo.vo.JobVO;
import cn.tedu.recruitmentwebsite.base.pojo.vo.TalentVO;
import cn.tedu.recruitmentwebsite.base.pojo.entity.User;

import com.github.pagehelper.Page;

import java.util.List;
import java.util.Map;

public interface EmployeeMapper {

    List<String> selectCompanies();

    List<JobVO> getAllPosition(QueryParam queryParam);

    int savePosition(Job job);

    JobVO getPositionById(Long id);

    int deletePositionById(Long id);

    int updatePosition(Job job);

    int updatePositionStatus(Map map);

    Page<OnlineResumes> getPageQueryTalent(PageQueryTalentParam pageQuery);

    List<TalentVO> getRecommendTalent();

    OnlineResumes getOnlineResumesById(Long id);

    List<JobSeekerEducationExperience> getEducationExperience(Long id);

    List<JobSeekerWorkExperience> getWorkExperience(Long id);

    List<ProjectExperience> getProjectExperience(Long id);

    User getUserByOnlineResumesId(Long id);
}
